﻿#region Using References

using System;
using System.Runtime.Serialization;
using Beaker.Services.FileSystem;

#endregion

namespace Beaker.OpenCube.Metadata
{
	[DataContract]
	public class GameVersionMetadata
	{
		public IFolder Folder { get; set; }

		[DataMember( Name = "id", IsRequired = true )]
		public string Id { get; set; }

		[DataMember( Name = "time" )]
		public DateTimeOffset Time { get; set; }

		[DataMember( Name = "releaseTime" )]
		public DateTimeOffset ReleaseTime { get; set; }

		[DataMember( Name = "type" )]
		public string Type { get; set; }

		[DataMember( Name = "minecraftArguments" )]
		public string MinecraftArguments { get; set; }

		[DataMember( Name = "mainClass" )]
		public string MainClass { get; set; }

		[DataMember( Name = "minimumLauncherVersion" )]
		public int MinimumLauncherVersion { get; set; }

		[DataMember( Name = "incompatibilityReason" )]
		public string IncompatibilityReason { get; set; }
	}
}
